<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">


<p:panel id="pmPaisPanel" style="border: none">
	<h:panelGrid columns="1">
		<h:outputText value="Código" />
		<p:inputText id="pmPaisId" value="#{beanPais.pais.id}" size="4"
			maxlength="4" disabled="true" />
		<h:outputText value="País: *" />
		<p:inputText id="pmPaisPais" value="#{beanPais.pais.pais}" size="40"
			maxlength="40" />
		<h:outputText value="DDI: *" />
		<p:inputText id="pmPaisDdi" value="#{beanPais.pais.ddi}" size="4"
			maxlength="3" mask="999" />
		<h:outputText value="Sigla: *" />
		<p:inputText id="pmPaisSigla" value="#{beanPais.pais.sigla}" size="4"
			maxlength="4" mask="aaa" />
	</h:panelGrid>
	<h:panelGrid columns="3">
		<p:commandButton id="pmPaisSalvar" value="Salvar"
			action="#{beanPais.save}" oncomplete="dManterPais.hide()" />

	</h:panelGrid>
</p:panel>

</html>